package com.xyy.saas.payment.service;

import com.xyy.saas.payment.dao.model.PayAmountReport;
import com.xyy.saas.payment.dao.model.PayAmountReportQueryParam;

import java.util.List;

public interface PayAmountReportService {

    PayAmountReport insert(PayAmountReport entity);

    List<PayAmountReport> pageByParam(PayAmountReportQueryParam queryParam);

    List<PayAmountReport> pageByGroupParam(PayAmountReportQueryParam queryParam);

    List<PayAmountReport> queryByParam(PayAmountReportQueryParam queryParam);

    long getTotal(PayAmountReportQueryParam queryParam);

    int updateAmountById(Long id, int amount);

}
